package com.news.model;

/**
 * 将后台页面数据返回前台
 */
public class ResultInfo {
    private Boolean flag;
    private String error;

    public ResultInfo() {
    }

    public ResultInfo(Boolean flag, String error) {
        this.flag = flag;
        this.error = error;
    }

    public Boolean getFlag() {
        return flag;
    }

    public void setFlag(Boolean flag) {
        this.flag = flag;
    }

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }
}
